package com.yonyou.ucf.mdf.app.isvdxq.other.model;

import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ContentBeanForOrg extends ContentBean {

    private OrgData data;
    private OrgModel model;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

    public OrgData getData() {
        return data;
    }

    public void setData(OrgData data) {
        this.data = data;
    }

    public OrgModel getModel() {
        return model;
    }

    public void setModel(OrgModel model) {
        this.model = model;
    }


    public class OrgData {
        private String tenantId;
        private String deptId;
        private String deptType;

        public String getTenantId() {
            return tenantId;
        }

        public void setTenantId(String tenantId) {
            this.tenantId = tenantId;
        }

        public String getDeptId() {
            return deptId;
        }

        public void setDeptId(String deptId) {
            this.deptId = deptId;
        }

        public String getDeptType() {
            return deptType;
        }

        public void setDeptType(String deptType) {
            this.deptType = deptType;
        }
    }

    public class OrgModel {
        private String id;
        private String code;
        private String name;
        private String shortname;
        private String tenantid;
        private String orgid;
        private Integer orgtype;
        private String creator;
        private String modifier;
        private Integer dr;
        private String yTenantId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getShortname() {
            return shortname;
        }

        public void setShortname(String shortname) {
            this.shortname = shortname;
        }

        public String getTenantid() {
            return tenantid;
        }

        public void setTenantid(String tenantid) {
            this.tenantid = tenantid;
        }

        public String getOrgid() {
            return orgid;
        }

        public void setOrgid(String orgid) {
            this.orgid = orgid;
        }

        public Integer getOrgtype() {
            return orgtype;
        }

        public void setOrgtype(Integer orgtype) {
            this.orgtype = orgtype;
        }

        public String getCreator() {
            return creator;
        }

        public void setCreator(String creator) {
            this.creator = creator;
        }

        public String getModifier() {
            return modifier;
        }

        public void setModifier(String modifier) {
            this.modifier = modifier;
        }

        public Integer getDr() {
            return dr;
        }

        public void setDr(Integer dr) {
            this.dr = dr;
        }

        public String getyTenantId() {
            return yTenantId;
        }

        public void setyTenantId(String yTenantId) {
            this.yTenantId = yTenantId;
        }
    }
}
